package com.qys.livesMall.financial.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author 
 * @since 2023-07-18
 */
@Getter
@Setter
@TableName("h2_financial_offline_user_detail")
@Schema(name = "FinancialOfflineUserDetail", description = "")
public class FinancialOfflineUserDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "观看状态 0未完成 1完成")
    private Integer state;

    @Schema(description = "任务状态 0未完成 1完成")
    private Integer taskState;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "线下id")
    private Long financialId;

    @Schema(description = "用户ID")
    private Long userId;

    @Schema(description = "用户名")
    private String userName;

    @Schema(description = "对应视频id")
    private Long videoId;

    @Schema(description = "线下用户收益ID")
    private Long offlineUserId;
}
